AmeliaBooking\Application\Services\User\ProviderApplicationService D

Total Complexity 212
Dependencies 26
Dependents 0
Total lines 1,499
Lines of code 827
Logical lines of code 480
Comment lines 337
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
updateProviderWorkDays()
D
28
34 128
updateProviderSpecialDays()
C
31 26 111
add()
B
33 20 93
delete()
A
42 15 48
setAvailablePeriodServicesLocations()
A
45 15 42
getProviderServiceLocations()
A
43 14 48
manageProvidersActivity()
A
44 13 43
createProvider()
A
44 8 46
getAllowedCustomers()
A
46 8 38
getProviderScheduleIntervals()
A
45 7 46
updateProviderDaysOff()
A
52 8 22
updateProviderServices()
S
50 7 30
modifyPeriodsWithSingleLocationAfterFetch()
S
52 7 26
removeAllExceptUser()
S
56 7 17
updateProviderLocations()
S
56 5 18
modifyPeriodsWithSingleLocationBeforePersist()
S
58 5 16
update()
S
57 5 16
checkIfTodayIsCompanyDayOff()
S
61 4 12
__construct()
S
81 1 3
getProviderWithServicesAndSchedule()
S
63 1 10
updateProviderOutlookCalendar()
S
70 1 7
updateProviderGoogleCalendar()
S
70 1 7